草庐IT

ios - 安装 Google-Mobile-Ads-SDK 时出错

全部标签

ruby - 安装gems导致报错

ruby2.0.0p247(2013-06-27修订版41674)[x86_64-linux]gem2.0.3sudogeminstalltravisBuildingnativeextensions.Thiscouldtakeawhile...ERROR:Errorinstallingtravis:ERROR:Failedtobuildgemnativeextension./usr/bin/ruby1.9.1extconf.rb/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in`require':cannotloadsuchfile

ruby - 如何为所有已安装的 gem 重建 rdoc?

我在多个位置安装了多个gem。生成/重新生成的困难/简单方法是什么:所有这些已安装的gem的rdoc,一次全部?所有这些已安装的gem的yardoc,一次全部? 最佳答案 你试过其中之一吗?gemrdoc--allgemrdoc--all--overwrite 关于ruby-如何为所有已安装的gem重建rdoc?,我们在StackOverflow上找到一个类似的问题: https://stackoverflow.com/questions/3152857/

ruby-on-rails - 安装 rails 插件时出现警告

我在我的Rails应用程序中安装任何插件时收到以下警告。/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/core_ext/kernel/agnostics.rb:7:warning:Insecureworldwritabledir/usr/local/bininPATH,mode040777谁能告诉我如何解决这个问题?谢谢 最佳答案 Ruby(在所有Unix上,包括Cygwin)会在您尝试运行外部程序并且您的$PATH包含一个全局可

ruby-on-rails - 安装 ruby​​Mine 时出错,未指定 SDK,但已列出

尝试运行任何命令(例如启动Rails服务器)时出现“无法安装gems:未指定SDK”。为什么我会收到此消息?我该如何解决?我以前遇到过JDK问题,但没有看到此SDK错误。 最佳答案 我进入设置并且已经列出了一个SDK,但是直到我点击“更新gems”,一切都安装好了。然后我就可以正常启动和使用该应用程序了。 关于ruby-on-rails-安装ruby​​Mine时出错,未指定SDK,但已列出,我们在StackOverflow上找到一个类似的问题: https:

ruby-on-rails - 如何卸载 Ruby on Rails 并进行全新安装?

我正在学习Rails教程。我遇到RVM的版本问题,并且收到很多错误。我想从Ruby、Rails、Gemfiles等的干净版本开始。谁能给我一些关于如何卸载我的Ruby-on-Rails环境的简要说明? 最佳答案 试试这个:rvmgetheadrvmresetrvmremove...#taketheoutputofrvmlistanddorvmremoveforeachiteminthelistrvmcleanuprvmrepairrvmnotes#makesurethatyou'vegotallthedependenciesment

ruby - 在 Ruby Rails 安装上找不到 rake

MicrosoftWindows[Version6.0.6002]Copyright(c)2006MicrosoftCorporation.Allrightsreserved.C:\Windows\system32>geminstallrakeSuccessfullyinstalledrake-0.8.71geminstalledInstallingridocumentationforrake-0.8.7...InstallingRDocdocumentationforrake-0.8.7...C:\Windows\system32>rakeC:/ProgramFiles(x86)/R

ruby-gmail : Uncaught exception: 534-5. 7.14 <https ://accounts. google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbtMk

我可以手动登录我的帐户,但是当我使用ruby​​-gmail时,它会引发错误这是我的代码require'gmail'gmail=Gmail.new("myname@gmail.com","passwd")gmail.deliverdoto"rorocodeath@gmail.com"subject"HavingfuninPuertoRico!"text_partdobody"Textofplaintextmessage."endhtml_partdocontent_type'text/html;charset=UTF-8'body"Textofhtmlmessage."endadd_f

ruby-on-rails - 安装调试器(1.6.8)时出错,Bundler 无法继续。确保 `gem install debugger -v ' 1.6。 8'`

通过geminstalldebugger-v'1.6.8'安装调试器时似乎有递归效果,它说安装成功,但是当我执行bundleinstall时,消息再次出现或bundle更新|20:15:37|~geminstalldebugger-v'1.6.8'Buildingnativeextensions.Thiscouldtakeawhile...Successfullyinstalleddebugger-1.6.8Parsingdocumentationfordebugger-1.6.8unabletoconvert"\xCF"fromASCII-8BITtoUTF-8forlib/ruby

ruby - 使用 rbenv 在 Mac 上安装 ruby​​ 2.0.0-p195 时出现 OpenSSL 错误

我尝试在Mac(MountainLion)上使用rbenv安装Ruby2.0.0-p195并遇到此错误。BUILDFAILEDInspectorcleanuptheworkingtreeat/var/folders/vt/27n8h2yj27v7rzq58075f3_m0000gn/T/ruby-build.20130618163859.1669Resultsloggedto/var/folders/vt/27n8h2yj27v7rzq58075f3_m0000gn/T/ruby-build.20130618163859.1669.logLast10loglines:installin

ruby-on-rails - 如何在 OSX 上安装 Ruby on Rails 3?

我有一台白色Macbook,我必须在10小时后去参加一个session,但我遇到了很多问题。首先,我想要Rails3,所以我使用MacPorts安装Ruby1.8.7。它运作良好;)然后我想我应该安装Rails3,但是不,不!它说:$sudogeminstallrails--preERROR:Errorinstallingrails:activesupportrequiresRubyversion>=1.8.7.我该怎么办?我已经有1.8.7了! 最佳答案 首先您需要安装RVM,然后是最新版本的Ruby。接下来,您将将该版本的Rub